11. Maven Project Structure
Maven Project Structure
ND079 JPND C3 L2 A08 Maven Project Structure V4
00:00
00:00
Standard Directory Layout
Maven automatically looks for source code, resources, tests, and other files in certain folders by default. You can see a list of the Standard Directory Layout in the Maven Documentation:
https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
![](img/maven-standard-directory-layout.jpg)
src:
- main: Contains source code and resources related to your project.
- test: Contains source code and resources for testing your project.
java: Both Java folders hold your .java
source files.
resources: Contains non-java files related to running and building your project. Commonly holds properties files.
filters: Contains resource filter files that Maven will use when filtering resources.